/**
 * 项目列表
 */
export const projects = [
	{
		id: '1',
		name: '项目1',
		leader: 1,
		leaderName: '赵',
		start_date: '2024-05-01 00:00:00',
		end_date: '2024-05-31 00:00:00',
		duration: 16,
		progress: 0.3,
		status: 0,
		statusText: '在建',
		tasks: [
			{
				id: '1-1',
				type: 'task',
				name: '任务1-1',
				leader: 2,
				leaderName: '钱',
				mrpId: '10011',
				start_date: '2024-04-03 00:00:00',
				duration: 4,
				progress: 0.6,
			},
			{
				id: '1-1-1',
				type: 'task',
				name: '任务1-1-1',
				leader: 3,
				leaderName: '孙',
				mrpId: '10111',
				start_date: '2024-04-04 00:00:00',
				duration: 3,
				progress: 0.3,
				parent: '1-1',
			},
			{
				id: '1-2',
				type: 'task',
				name: '任务1-2',
				leader: 4,
				leaderName: '李',
				mrpId: '10012',
				start_date: '2024-04-11 00:00:00',
				duration: 6,
				progress: 0.6,
			},
		],
	},
	{
		id: '2',
		name: '项目2',
		leader: 5,
		leaderName: '周',
		start_date: '2024-05-20 00:00:00',
		end_date: '2024-06-31 00:00:00',
		duration: 56,
		progress: 1,
		status: 1,
		statusText: '完成',
		tasks: [
			{
				id: '2-1',
				type: 'task',
				name: '任务2-1',
				leader: 6,
				leaderName: '吴',
				mrpId: '10021',
				start_date: '2024-05-10 00:00:00',
				duration: 6,
				progress: 0.6,
			},
			{
				id: '2-2',
				type: 'task',
				name: '任务2-2',
				leader: 7,
				leaderName: '郑',
				mrpId: '10022',
				start_date: '2024-05-21 00:00:00',
				duration: 6,
				progress: 0.6,
			},
		],
	},
	{
		id: '3',
		name: '项目3',
		leader: 5,
		leaderName: '周',
		start_date: '2024-03-20 00:00:00',
		end_date: '2024-04-31 00:00:00',
		duration: 56,
		progress: 0.6,
		status: 2,
		statusText: '超期',
		tasks: [
			{
				id: '3-1',
				type: 'task',
				name: '任务3-1',
				leader: 6,
				leaderName: '吴',
				mrpId: '10021',
				start_date: '2024-03-30 00:00:00',
				duration: 6,
				progress: 0.6,
				status: 2,
				statusText: '超期',
			},
		],
	},
	{
		id: '4',
		name: '项目4',
		leader: 5,
		leaderName: '周',
		start_date: '2024-02-20 00:00:00',
		end_date: '2024-03-31 00:00:00',
		duration: 56,
		progress: 0.1,
		status: 3,
		statusText: '关闭',
		tasks: [
			{
				id: '4-1',
				type: 'task',
				name: '任务4-1',
				leader: 6,
				leaderName: '吴',
				mrpId: '10021',
				start_date: '2024-02-25 00:00:00',
				duration: 6,
				progress: 0.6,
				status: 3,
				statusText: '关闭',
			},
		],
	},
];
/**
 * 项目负责人列表
 */
export const projectLeaders = [
	{
		id: 1,
		name: '赵',
	},
	{
		id: 2,
		name: '钱',
	},
	{
		id: 3,
		name: '孙',
	},
	{
		id: 4,
		name: '李',
	},
	{
		id: 5,
		name: '周',
	},
	{
		id: 6,
		name: '吴',
	},
	{
		id: 7,
		name: '郑',
	},
	{
		id: 8,
		name: '王',
	},
];
